package com.clock.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.clock.common.annotation.Excel;
import com.clock.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * 店铺对象 shop_shop
 * 
 * @author ruoyi
 * @date 2024-10-11
 */

@Entity
public class ShopShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺ID */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long shopId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 店铺描述 */
    @Excel(name = "店铺描述")
    private String shopDesc;

    /** 店铺人数 */
    @Excel(name = "店铺人数")
    private Integer shopNumber;

    /** 店铺状态（0代表开店中 1代表闭店中） */
    @Excel(name = "店铺状态", readConverterExp = "0=代表开店中,1=代表闭店中")
    private String shopStatus;

    /** 店铺添加日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "店铺添加日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shopTimeStart;

    /** 店铺图片 */
    @Excel(name = "店铺图片")
    private String shopPic;

    /** 店铺地址 */
    @Excel(name = "店铺地址")
    private String shopAddress;

    /** 店铺电话 */
    @Excel(name = "店铺电话")
    private String phoneNumber;

    /** 店铺管理员 */
    @Excel(name = "店铺管理员")
    private Long employeeId;

    /** 老板ID */
    @Excel(name = "老板ID")
    private Long bossId;

    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setShopDesc(String shopDesc) 
    {
        this.shopDesc = shopDesc;
    }

    public String getShopDesc() 
    {
        return shopDesc;
    }
    public void setShopNumber(Integer shopNumber) 
    {
        this.shopNumber = shopNumber;
    }

    public Integer getShopNumber() 
    {
        return shopNumber;
    }
    public void setShopStatus(String shopStatus)
    {
        this.shopStatus = shopStatus;
    }

    public String getShopStatus()
    {
        return shopStatus;
    }
    public void setShopTimeStart(Date shopTimeStart) 
    {
        this.shopTimeStart = shopTimeStart;
    }

    public Date getShopTimeStart() 
    {
        return shopTimeStart;
    }
    public void setShopPic(String shopPic) 
    {
        this.shopPic = shopPic;
    }

    public String getShopPic() 
    {
        return shopPic;
    }
    public void setShopAddress(String shopAddress) 
    {
        this.shopAddress = shopAddress;
    }

    public String getShopAddress() 
    {
        return shopAddress;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setBossId(Long bossId) 
    {
        this.bossId = bossId;
    }

    public Long getBossId() 
    {
        return bossId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("shopName", getShopName())
            .append("shopDesc", getShopDesc())
            .append("shopNumber", getShopNumber())
            .append("shopStatus", getShopStatus())
            .append("shopTimeStart", getShopTimeStart())
            .append("shopPic", getShopPic())
            .append("shopAddress", getShopAddress())
            .append("phoneNumber", getPhoneNumber())
            .append("employeeId", getEmployeeId())
            .append("bossId", getBossId())
            .toString();
    }
}
